/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.qihoo.gamecenter.sdk.common.h;

import android.content.Context;
import android.content.Intent;
import android.os.AsyncTask;
import com.qihoo.gamecenter.sdk.common.c.d;
import com.qihoo.gamecenter.sdk.common.c.e;

public class a extends AsyncTask {
    protected d a;
    protected Context b;
    protected Intent c;
    protected g d;
    protected String e = null;

    public a(Context paramContext, Intent paramIntent) {
        this.b = paramContext;
        this.c = paramIntent;
        this.a = e.a(this.b);
    }

    protected String a(String[] paramArrayOfString) {
        return null;
    }

    public void a(g paramg, String[] paramArrayOfString) {
        this.d = paramg;
        execute(paramArrayOfString);
    }

    protected void a(String paramString) {
        if (this.d == null)
            return;
        this.d.a(paramString, this.b);
    }

    protected String a(String[] paramArrayOfString, int paramInt) {
        if ((paramArrayOfString == null) || (paramArrayOfString.length <= 0))
            return "";
        if ((paramArrayOfString.length > paramInt) && (paramInt >= 0))
            return paramArrayOfString[paramInt];
        return "";
    }

    protected boolean a() {
        return false;
    }
}